/*
	[Destoon B2B System] Copyright (c) 2008-2011 Destoon.COM
	This is NOT a freeware, use is subject to license.txt
*/
var apl_id;

function load_apply_apl(applyid, id) {
	apl_id = id;
	apply_applyid[id] = applyid;
	makeRequest('action=apply&apply_title='+apply_title[id]+'&apply_moduleid='+apply_moduleid[id]+'&apply_extend='+apply_extend[id]+'&apply_deep='+apply_deep[id]+'&apl_id='+apl_id+'&applyid='+applyid, AJPath, 'into_apply_apl');
}
function into_apply_apl() {
	
	if(xmlHttp.readyState==4 && xmlHttp.status==200) {
		
		var aa =  apply_applyid[apl_id];
		Dd('apply_'+apl_id).value = apply_applyid[apl_id];
		
		if(xmlHttp.responseText) 
		{
			
		Dd('load_apply_'+apl_id).innerHTML = xmlHttp.responseText;
		}
	}
}